package com.lwm.utils;

/**
 * 状态码
 * 自定义
 * <p>200  (1,2,3,4) (1,0)</p>
 * <p>请求ok  (增,删,改,查)   (ok,err)</p>
 */
public class Code {
    public static final Integer LOGIN_OK = 20001;
    public static final Integer SAVE_OK = 20011;
    public static final Integer DELETE_OK = 20021;
    public static final Integer UPDATE_OK = 20031;
    public static final Integer GET_OK = 20041;

    public static final Integer LOGIN_ERR = 20000;
    public static final Integer SAVE_ERR = 20010;
    public static final Integer DELETE_ERR = 20020;
    public static final Integer UPDATE_ERR = 20030;
    public static final Integer GET_ERR = 20040;

    /**
     * 重复条目
     */
    public static final Integer REPEAT_ENTRY_ERR = 50000;
}
